FLTK logo

[fltk.coredev] Missing library on windows 10 + msys2 (libwinspool.a)

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.coredev  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Missing library on windows 10 + msys2 (libwinspool.a) gnuwimp 11:02 May 09  
 
../lib/libfltk.a(Fl_WinAPI_Printer_Driver.o):Fl_WinAPI_Printer_Driver.cxx:(.text$_ZN23Fl_PDF_GDI_File_Surface9begin_jobEPKcPPc+0x31):
undefined reference to `OpenPrinterA'
../lib/libfltk.a(Fl_WinAPI_Printer_Driver.o):Fl_WinAPI_Printer_Driver.cxx:(.text$_ZN23Fl_PDF_GDI_File_Surface9begin_jobEPKcPPc+0xb4):
undefined reference to `DocumentPropertiesA'
../lib/libfltk.a(Fl_WinAPI_Printer_Driver.o):Fl_WinAPI_Printer_Driver.cxx:(.text$_ZN23Fl_PDF_GDI_File_Surface9begin_jobEPKcPPc+0x107):
undefined reference to `DocumentPropertiesA'
../lib/libfltk.a(Fl_WinAPI_Printer_Driver.o):Fl_WinAPI_Printer_Driver.cxx:(.text$_ZN23Fl_PDF_GDI_File_Surface9begin_jobEPKcPPc+0x113):
undefined reference to `ClosePrinter'
../lib/libfltk.a(Fl_WinAPI_Printer_Driver.o):Fl_WinAPI_Printer_Driver.cxx:(.text$_ZN23Fl_PDF_GDI_File_Surface9begin_jobEPKcPPc+0x2d6):
undefined reference to `ClosePrinter'

They might have been added in commit 9472ff546cc0b4150d4dec89b48b3e4814b421f6.

fltk: ffd06dd9ebbc84aad88bfa9cdceab228abd038d7
gcc version 13.2.0 (Rev6, Built by MSYS2 project)
./configure --enable-use_std --prefix=/usr/local

One other thing, if fluid is disabled it failes in test/ directory.
./configure --enable-use_std --disable-fluid --prefix=/usr/local

Linking table.exe...
g++  -O3 -Wall -Wunused -Wno-format-y2k  -fno-exceptions
-fno-strict-aliasing -ffunction-sections -fdata-sections -mwindows
table.o ../lib/libfltk.a -lgdiplus -lgdiplus  -lole32 -luuid
-lcomctl32 -lws2_32 -lwinspool -o table.exe
: ../fltk-config --post table.exe
echo Compiling ../fluid/fluid.cxx...
Compiling ../fluid/fluid.cxx...
g++ -I..     -O3 -Wall -Wunused -Wno-format-y2k  -fno-exceptions
-fno-strict-aliasing -ffunction-sections -fdata-sections
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE     -c ../fluid/fluid.cxx -o
../fluid/fluid.o
echo Linking ../fluid/fluid.exe...
Linking ../fluid/fluid.exe...
g++  -O3 -Wall -Wunused -Wno-format-y2k  -fno-exceptions
-fno-strict-aliasing -ffunction-sections -fdata-sections -mwindows
../fluid/fluid.o ../lib/libfltk.a -lgdiplus -lgdiplus  -lole32 -luuid
-lcomctl32 -lws2_32 -lwinspool -o ../fluid/fluid.exe
C:/Dev/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
../fluid/fluid.o:fluid.cxx:(.text$_Z16save_template_cbP9Fl_WidgetPv+0x23):
undefined reference to `template_clear()'
C:/Dev/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
../fluid/fluid.o:fluid.cxx:(.text$_Z16save_template_cbP9Fl_WidgetPv+0x41):
undefined reference to `template_load()'

-- 
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/CAG6%3DZXOQVV%3DSAu6eMOB4Zz9MZG2OHqNw8mUF9wJpbOcw-%2BCKQA%40mail.gmail.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.